package com.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.config.exception.GlobalExcetion;
import com.example.pay.domain.UserPayRecordIn;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
* @author CETC
* @description 针对表【user_pay_record_in_1】的数据库操作Service
* @createDate 2025-11-01 22:17:24
*/
public interface UserPayRecordInService extends IService<UserPayRecordIn> {

    public UserPayRecordIn saveUserPayRecordIn(String userId,UserPayRecordIn userPayRecordIn) throws GlobalExcetion;

    public UserPayRecordIn updateUserPayRecordInById(UserPayRecordIn userPayRecordIn) throws GlobalExcetion;

    public IPage<UserPayRecordIn> page(Page<UserPayRecordIn> page,String userId) throws GlobalExcetion;

    public UserPayRecordIn addRecord(String fromUUid,String toUUid,String money,String payNote);
}
